package com.heima.wemedia.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.heima.model.common.dtos.common.ResponseResult;
import com.heima.model.common.dtos.wemedia.WmMaterialDto;
import com.heima.model.wemedia.pojos.WmMaterial;
import org.springframework.web.multipart.MultipartFile;

/**
* @author Fu319
* @description 针对表【wm_material(自媒体图文素材信息表)】的数据库操作Service
* @createDate 2025-04-02 14:33:26
*/
public interface WmMaterialService extends IService<WmMaterial> {
    /**
     * 上传素材功能
     * @param file
     * @return
     */
    ResponseResult uploadPicture(MultipartFile file);

    ResponseResult listMaterials(WmMaterialDto wmMaterialDto);

    ResponseResult delPicture(Integer id);
}
